const http=require('http')
const app=http.createServer();
app.on('require',(req,res)=>{
    res.setHeader("Content-type","text/html;charset=utf-8")
    res.end("<h1>回家</h1>")
})
app.listen(3000,()=>{
    console.log("server is running...");
})